import store from '@/store'
export const checkPermMixin = {
  methods: {
    disabledName(pointsName) {
      if (store.state.user.userInfo.roles) {
        return store.getters.points.includes(pointsName)
      }
    }
  }
}
